SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c2969b0b0e419ac9c28ae0fddcd79f355a12aa2fc4a71d3dd835029bc99e3ec' 
  AND token = 'XNdw7iehk6ZuZjQKCBhbaxVqbI0Z/sFmEDzMYq9OrAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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