SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e57940beb767c0a29ad1ba2a861648da02d5dbfda9307570f41481d5101ba4a7' 
  AND token = 'eP7EfuRZlWu7VRM20ZHlkJQTjcz+7t/7+ZSl19ANJY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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