SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '012d57dbf93310857a89147ee06573614f5b8139a32832abd21c604c53735001' 
  AND token = 'GXJ/MS+JsvPiJrwHo5HOQgGuowE+5XEiG2k+eGxLT5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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