SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ba2bc31a445c27b0411f5863ea870a29d0774eda1485b42c425e96ec812c81d' 
  AND token = 'UjIn2EAK45HIj/IerMDaAZ65su1smvKFQXXeYlILXyU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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