SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccccb6d1c9d519d0aa3779f762c2c1833d8d16de136951cb6e7046068111f300' 
  AND token = 'gvA6m8549NZmVzbZ+PVvNTJUmgspcm1o1Zv5DoCKWjo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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