SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '512177bf6693b63a102e89a55b6c7f9745bf23bd975ba5cb6f8af776352c5f7c' 
  AND token = 'Iwj0e5QTNZIxQPMbcoATfrH7JH/BDx7Wt87MSym72bM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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