SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6662b94ca391f6c188792f25ca761b1d2aea7d4542fdd6e018ea8bb3c1d1785d' 
  AND token = 'R8uMMTZrj2IKZaHTZ8mFQhWMGyOy/Rhm2lizqc6uTQM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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