SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '161ed42a92918f4e4ae62784c8a32861f9ee0bdb522719b678fb8056da83178e' 
  AND token = '9BNO08ty3WDftQ91/2/aG1pigexLPGn3kRM01HU103s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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