SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5479337f81308875e1a16e7e867cc5f68d31eaeb171f5d55fb970c69373aa940' 
  AND token = 'gn6dR8/aaShGKQj8TPWkXkt6O76+hC+r6KCEMLsUTMk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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