SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28ed9914d990e246e24b2b992371a16526df36efddd224b4c393f4340ddb238b' 
  AND token = '2Ir5TH2+WXXE89A+Bal71M5SM6UWaHHitTvdBYxyXg4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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