SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd930ec3971c0bafa7de72a740f03679f1e603f659afdc12995c4cff7830434b5' 
  AND token = '2sj7WkwlLizgwrIHl9d0BpU0zON2mX2OCbGLneUq4kE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}