SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f50a078886e9502e3707eaa9b5c5931f4cdc0601407582e077775cd956e17329' 
  AND token = 'PfOXFpio7PhYfMOpkzbrPGO749k6euKlhaz1W1RfpsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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