SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c34a8e0c72c0fba477da7224d7324051f4077494c22dddeba8a98a1a039c30a' 
  AND token = '4fgjcc9X8fGwxekD852wobOX/eWrI0VJqvPnJ5YfPUk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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