SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f3ad6c52bf73efad9836fde19d4c8a6928a542927452ae54d6c0e8000816df9' 
  AND token = '0jauzQWRutabzin9ZC5oOBCooma9Q3rz1y4wvzb88pI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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