SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd07e6ee15bee80b8b6244839851d5a799a9837398fc1a96f80de819771635e66' 
  AND token = 'hg22k1hs11cBnAoOpyAj55WcNEY1dTln9X/Rxx/0ArE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00082

JSON explain

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