SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff4d27503986e295c08472e541e148e97149cb616788e63775b5114677150dbf' 
  AND token = 'z0AEIOZmRD0tgeH1Eh0A9CWPg+vIOJYtuPo00mkLQpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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