SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '678f31c2fedc026d897fdbb13562c037a6eb609d85e95f9932c0235eb415138c' 
  AND token = 'WFkhHjAfPz606tcLUma9PHNWb2dsUrCgS43cgHmYabI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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