SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56e4cd7240f2bc40b7de375331eaa3d196d916dc4b8fbcc4b761a5ad333ea184' 
  AND token = 'g4OBWFZ1ggJ9IQo2zGFUNTzE8q+TYr8nMDurp3ktWaA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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