SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a24f0b06ca1850a63d4fc4ca1d3b5f337d0c9f250543b337144c592ab6716078' 
  AND token = 'm1bHj8pE27JKH+EtfAbE+Ov02P1QXY2HCBt1RTEIaL8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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