SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '76e3719e57172338407ffa4bfe0719d8bc6fd3a99d26f2315db7b18efaff965c' 
  AND token = 'm4JToHPXl+7nx/gCROSLuffsqSD5jS8tBA0B7gcvirg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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