SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12fb3665dd523a1f2445eee3dee32503b12715f5dc53a7ee8681c35eef857c21' 
  AND token = 'hmf0W2DI+UncjbwoW6Uz+ZQhhYp+vGpEnwGkXibEtEE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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