SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4eec876741785acfe26f338c0e91a64011f80b817d54e19471e5ff386a07e15' 
  AND token = 'tonbaLMiQ3I1KLb8ACjfFhJ1s1mRw6rLdYl3QJWoyH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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