SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd52e2e4ec41e474ec20929ff4885fbe7cf217e68f02e240cfaacb19d7630d26c' 
  AND token = 'zkPYaRaGMQIb6zxY0jA7a+iOlcJGVGA0v7iYvtRaPbI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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