SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e6420e036153e86d518cb5237788bc364e495480fc4990dd5d0393dcbe0d55d' 
  AND token = 'CoVOjzNopkSpjKpJKEATebhtubS3Yj56k51BJjjBgo0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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