SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c4979b99a4cb4a945b8f7364744de68ae98e2abd431024c39add5b92932a4ce' 
  AND token = 'Jw0M6wm7oJ70057bL8gRXIMv5PMEvtauC24UBhB8PVY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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