SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fd1e4d0c1b404636c9637710400769396d8b9268033142b12d5915eb8b447b2' 
  AND token = 'iWYu8ZM3V8k40bdy4DftaM42fLzMYicKRX54nugTH60=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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